home *** CD-ROM | disk | FTP | other *** search
-
-
-
- sssspppplllliiiitttt((((nnnn)))) TTTTccccllll (((( )))) sssspppplllliiiitttt((((nnnn))))
-
-
-
- _________________________________________________________________
-
- NNNNAAAAMMMMEEEE
- split - Split a string into a proper Tcl list
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- sssspppplllliiiitttt _s_t_r_i_n_g ?_s_p_l_i_t_C_h_a_r_s?
- _________________________________________________________________
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- Returns a list created by splitting _s_t_r_i_n_g at each character
- that is in the _s_p_l_i_t_C_h_a_r_s argument. Each element of the
- result list will consist of the characters from _s_t_r_i_n_g that
- lie between instances of the characters in _s_p_l_i_t_C_h_a_r_s.
- Empty list elements will be generated if _s_t_r_i_n_g contains
- adjacent characters in _s_p_l_i_t_C_h_a_r_s, or if the first or last
- character of _s_t_r_i_n_g is in _s_p_l_i_t_C_h_a_r_s. If _s_p_l_i_t_C_h_a_r_s is an
- empty string then each character of _s_t_r_i_n_g becomes a
- separate element of the result list. _S_p_l_i_t_C_h_a_r_s defaults to
- the standard white-space characters. For example,
-
- sssspppplllliiiitttt """"ccccoooommmmpppp....uuuunnnniiiixxxx....mmmmiiiisssscccc"""" ....
- returns """"ccccoooommmmpppp uuuunnnniiiixxxx mmmmiiiisssscccc"""" and
-
- sssspppplllliiiitttt """"HHHHeeeelllllllloooo wwwwoooorrrrlllldddd"""" {{{{}}}}
- returns """"HHHH eeee llll llll oooo {{{{ }}}} wwww oooo rrrr llll dddd"""".
-
-
- KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
- list, split, string
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 1 (printed 7/17/95)
-
-
-
-